package com.example.lostandfoundsystem.models.common;

import java.util.Map;

/**
 * @author lucifer
 * @since 2024-07-15-8:59
 */
public interface JWTSubject {
    // 唯一认证的JWTid
    String getJWTIdentifier();

    default Map<String, String> getJWTCustomClaims() {
        return null;
    }

    default String getJWTClassId() {
        return String.valueOf(this.getClass().hashCode());
    }
}
